import request from '../utils/request';

export async function query() {
  return request('/api/users');
}

export async function queryCurrent() {
  return request('/api/currentUser');
}


export async function getUserInfo() {
  return request('/yjx/v1/promoter/users/getUserInfo', {
    method: 'POST',
  });
}

export async function getMenuData() {
  return request('/yjx/v1/promoter/users/getMenuData', {
    method: 'POST',
  });
}

